<template xmlns='http://www.w3.org/1999/html'>
  <a-modal
    :title='title'
    :width="800"
    :visible="visible"
    :confirmLoading="confirmLoading"
    :footer="null"
    @cancel="handleCancel"
  >
    <table id="table_report" class="table table-striped table-bordered table-hover">
      <tr>
        <td style="width:90px;text-align: right;padding-top: 80px;">下发记录</td>
        <td>
          <p style="float: left;">
              项目名称：{{result.projectName}}<br>
              操作类型：{{result.optionType_dictText}}<br>
              用户名：{{result.userName}}<br>
              创建时间:{{result.createTime}}<br>
              修改内容:{{result.arg}}
          </p>
        </td>
      </tr>
    </table>
  </a-modal>
</template>

<script>
export default {
  name: 'ModalFormDetail',
  data(){
    return{
      confirmLoading: false,
      visible: false,
      title:"操作",
      result:{},
    }
  },
  methods:{
    check(record){
      console.log(record)
      this.visible =true
      Object.assign(this.result,record)
    },
    close () {
      this.visible = false;
    },
    handleCancel () {
      this.close()
    },
  }
}
</script>

<style scoped>

</style>